package com.jmeter.perf.service.impl;


import java.io.Serializable;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jmeter.perf.entity.Bank;
import com.jmeter.perf.mapper.BankMapper;
import com.jmeter.perf.service.IBankService;

import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sysGenerator
 * @since 2020-05-25
 */
@Service
public class BankServiceImpl extends ServiceImpl<BankMapper, Bank> implements IBankService {

	@Override
	@Cacheable(value = "Bank", key = "#id")
	public Bank getById(Serializable id) {
		return super.getById(id);
	}
}
